package com.zlq.cn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 作文
 * </p>
 *
 * @author zhoucl
 * @since 2024-04-24
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("zuowen")
@ApiModel(value = "Zuowen对象", description = "作文")
public class Zuowen implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "唯一id")
    private String uuid;

    @ApiModelProperty(value = "网页链接")
    private String url;

    @ApiModelProperty(value = "年份")
    private String year;

    @ApiModelProperty(value = "地域")
    private String region;

    @ApiModelProperty(value = "种类；1：普通作文，2：高考满分作文，3：初中试卷，4：高考预测，5：小升初作文真题")
    private String category;

    @ApiModelProperty(value = "试卷链接")
    private String testQuestionsUrl;

    @ApiModelProperty(value = "字数")
    private Integer wordCount;

    @ApiModelProperty(value = "发布时间")
    private LocalDate publishDate;
}
